package cn.smbms.pojo;

import org.hibernate.validator.constraints.NotEmpty;

import java.util.Date;

public class Provide {


    private Integer id; //id

    @NotEmpty(message = "供应商编码不能为空")
    private String proCode; //供应商编码

    @NotEmpty(message = "供应商名称不能为空")
    private String proName; //供应商名称

    @NotEmpty(message = "供应商描述不能为空")
    private String proDesc; //供应商详细描述

    @NotEmpty(message = "供应商联系人不能为空")
    private String proContact;  //供应商联系人

    @NotEmpty(message = "联系电话不能为空")
    private String proPhone;    //联系电话

    @NotEmpty(message = "地址不能为空")
    private String proAddress;  //地址

    @NotEmpty(message = "传真不能为空")
    private String proFax;  //传真

    private Integer createdBy;  //创建者

    private Date creationDate;  //创建时间

    private Date modifyDate;    //更新者

    private  Integer modifyBy;  //更新时间

    private String idPicPath;

    private String workPicPath;

    public String getIdPicPath() {
        return idPicPath;
    }

    public void setIdPicPath(String idPicPath) {
        this.idPicPath = idPicPath;
    }

    public String getWorkPicPath() {
        return workPicPath;
    }

    public void setWorkPicPath(String workPicPath) {
        this.workPicPath = workPicPath;
    }

    public Integer getId() {
        return id;
    }

    public String getProCode() {
        return proCode;
    }

    public String getProName() {
        return proName;
    }

    public String getProDesc() {
        return proDesc;
    }

    public String getProContact() {
        return proContact;
    }

    public String getProPhone() {
        return proPhone;
    }

    public String getProAddress() {
        return proAddress;
    }

    public String getProFax() {
        return proFax;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public void setProDesc(String proDesc) {
        this.proDesc = proDesc;
    }

    public void setProContact(String proContact) {
        this.proContact = proContact;
    }

    public void setProPhone(String proPhone) {
        this.proPhone = proPhone;
    }

    public void setProAddress(String proAddress) {
        this.proAddress = proAddress;
    }

    public void setProFax(String proFax) {
        this.proFax = proFax;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

}
